package com.woniuxy.cloud.userassembly.service;

import com.woniuxy.cloud.entity.TGoodCar;
import com.woniuxy.cloud.entity.TUserCar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.form.AddUserCarForm;

import java.util.List;

/**
 * <p>
 * 用户车型中间表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-09-24
 */
public interface ITUserCarService extends IService<TUserCar> {

    Integer insertUserCar(AddUserCarForm addUserCarForm);

    Integer deleteUserCar(Integer userCarId);

    List<TUserCar> getUserCarListByUserId(Integer userId);

    TUserCar getDefaultUserCar(Integer userId);

    Integer updateUserCarStatus(Integer userCarId,Integer userCarStatus);

}
